package com.ssy.lingxi.pay.model.vo.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 分页查询子会员授信VO
 * @author 伍将
 * @date 2020/8/14 16:07
 * @version 2.0.0
 */
public class PageQueryChildCreditVO extends PageVO implements Serializable {
    private static final long serialVersionUID = -4616869840953290289L;

    /**
     * 会员名称
     */
    private String MemberName;

    /**
     * 下级会员的等级
     */
    private Integer level;

    /**
     * 下级会员的会员类型Id
     */
    private Long memberTypeId;

    /**
     * 下级会员的角色Id
     */
    private Long subRoleId;

    /**
     * 授信状态 0-所有 1-未申请 2-申请中 3-正常 4-已冻结
     */
    @NotNull(message = "会员id要大于等于0")
    @PositiveOrZero(message = "会员id要大于等于0")
    private Integer status;

    /**
     * 授信还款状态 0-所有 1-账单待还 2-待确认还款结果 3-账单已还清 4-逾期
     */
    @NotNull(message = "会员id要大于等于0")
    @PositiveOrZero(message = "会员id要大于等于0")
    private Integer rePayStatus;

    public String getMemberName() {
        return MemberName;
    }

    public void setMemberName(String memberName) {
        MemberName = memberName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getRePayStatus() {
        return rePayStatus;
    }

    public void setRePayStatus(Integer rePayStatus) {
        this.rePayStatus = rePayStatus;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getMemberTypeId() {
        return memberTypeId;
    }

    public void setMemberTypeId(Long memberTypeId) {
        this.memberTypeId = memberTypeId;
    }

    public Long getSubRoleId() {
        return subRoleId;
    }

    public void setSubRoleId(Long subRoleId) {
        this.subRoleId = subRoleId;
    }
}
